package com.by.wx.vo.script;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

/**
 * 生成脚本并运行-订阅-参数对象
 * @ClassName GenRunVo
 * @Date 2025/1/2
 * @Author Blue
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class CsGenRunVo {

    /**
     * 日期
     */
    @NotBlank(message = "Date cannot be empty")
    private String date;

    /**
     * 出发机场
     */
    @NotBlank(message = "Departure cannot be empty")
    private String departure;

    /**
     * 到达城市
     */
    @NotBlank(message = "Arrival cannot be empty")
    private String arrival;

    /**
     * 用户唯一标识(微信号/微信名称)
     */
    @NotBlank(message = "UserId cannot be empty")
    private String userId;

    /**
     * 航班
     */
    @NotBlank(message = "Flight cannot be empty")
    private String flightNo;

}
